package com.ruoyi.resume.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 荣誉奖项对象 bole_resume_honor
 * 
 * @author ruoyi
 * @date 2025-04-01
 */
public class BoleResumeHonor extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 简历ID */
    @Excel(name = "简历ID")
    private Long resumeId;

    /** 荣誉名称 */
    @Excel(name = "荣誉名称")
    private String name;

    /** 获得日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "获得日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date obtainDate;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setResumeId(Long resumeId) 
    {
        this.resumeId = resumeId;
    }

    public Long getResumeId() 
    {
        return resumeId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setObtainDate(Date obtainDate) 
    {
        this.obtainDate = obtainDate;
    }

    public Date getObtainDate() 
    {
        return obtainDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("resumeId", getResumeId())
            .append("name", getName())
            .append("obtainDate", getObtainDate())
            .toString();
    }
}
